Complex signal decomposition and modeling

ABSTRACT

A system, method and program product for monitoring a complex signal for ultrasensitive detection of state changes, or for signature recognition and classification is provided. A complex signal is decomposed periodically for empirical modeling. Wavelet analysis, frequency band filtering or other methods may be used to decompose the complex signal into components. A library of signature data may be referenced for selection of a recognized signature in the decomposed complex signal. The recognized signature may indicate data being carried in the complex signal. Estimated signal data may be generated for determination of an operational state of a monitored process or machine using a statistical hypothesis test with reference to the decomposed input signal.

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of priority under 35 U.S.C. §119(e) to U.S. Provisional application serial No. 60/187,949 filed Mar. 9, 2000.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to process modeling and monitoring, especially using complex or periodic signals. Moreover, the invention relates to complex signal decomposition, modeling and classification for use in monitoring the operational state of any machine, process or signal. More particularly, a complex signal can be classified using the present invention for health monitoring or for information rectification.

[0004] 2. Description of the Related Art

[0005] Well known conventional modeling and analysis methods use several sensors measuring operational system parameters to monitor equipment or processes—generically “systems”. The related signals from sensors can be observed directly to understand how the system is functioning. Alternatively, for unattended operation, methods are well known for comparing real-time sensor signals against stored or predetermined thresholds in an automated fashion. When the signals exceed those thresholds, an exception condition or an alarm is generated, thus requiring human intervention only when a sensor datum value exceeds a corresponding threshold. Such methods focus on using the instantaneous value of sensors and other parameters to describe the current state of a system, but do not take advantage of time-domain information locked up in the sensor signals. It would be useful to take advantage of such time-domain information to better monitor the system, and even determine what operational state (among many acceptable states) the system is in.

[0006] In the field of vibration analysis, methods are known for examining the power spectral density function from an accelerometer or acoustic pickup to provide means for monitoring rotating or cyclic equipment. Typically, frequencies of interest are examined, and thresholds (lower or upper limit) are placed on the power level expected for these frequencies. If a threshold is pierced, this is indicative of an unsatisfactory operating condition or a developing problem. A great deal of work is involved in identifying the frequencies of interest and expected power levels for each particular piece of equipment that is monitored in this fashion. Problem diagnosis is also typically very specific to the kinds of indications presented with the appearance of the particular problem, and must be worked out specifically for each machine. It would be useful to have an empirical data-driven way of determining the health or the operational state of a machine based on one or more vibration or acoustic signals.

[0007] In a different technical area, digital data transmission is frequently accomplished—whether over a cable (e.g. Cat. 5, coaxial cable, etc.) or through radio transmission (e.g. broadcast, digital telecommunication, an IEEE 802.11b interface)—by modulation of an analog carrier signal. Further, to improve data transmission rates, the data being transmitted is compressed and encoded onto the transmission signal carrier, typically as sinusoidal waves encoding binary data in the phase and amplitude of the wave. Presently, well-known data encoding and transmission techniques include quadrature amplitude modulation (QAM) and discrete multitone (DMT). Well-known methods for extracting such encoded data include frequency filtering, signal decomposition and wavelet analysis.

[0008] However, during transmission these types of signals can suffer from attenuation and interference due to noise or transmission media deterioration, for example. In some cases, noise and signal degradation is sufficient to all but obliterate the original transmitted signal, making it impossible to extract the data encoded therein using prior art techniques. Accordingly, when noise or degradation is high, it would be useful to be able to reconstruct a meaningful signal from the noisy and/or attenuated signal that is being received. This essentially amounts to determining which of a finite set of datagrams an attenuated signal most closely resembles. There is a need for a signal analysis method that may be applied to a single complex signal to extract an original signal.

[0009] One empirical model-based monitoring technique known in the art is described in U.S. Pat. No. 5,764,509 to Gross et al., the teachings of which are incorporated herein by reference. In this technique, multiple sensor signals measuring physically correlated parameters are modeled in an empirical technique to provide estimates of those values. Discrepancies between the estimates and the actual values from the sensors indicate a developing process or machine failure, or sensor failure. The model generates the estimates using a reference library of selected historic snapshots of sensor values representative of known operational states. However, the described embodiments therein do not utilize the time domain information in the sensor signals, and instead usually treat the data in distinct and disconnected time-contemporaneous snapshots. It would be useful to provide the kind of empirical modeling of Gross et al. for use with time domain information. What is needed is a way of using a complex signal as an input to a multivariate modeling system such as that of Gross et al.

[0010] Where time domain information is locked up in one or more sensor or parameter signals detected from an instrumented process or machine, what is needed is a way to model the process or machine with the time-domain signal for one or more acceptable and identifiable states of operation, and to do so without investing a great deal of time and effort in coming up with first-principles equations that approximate those states. What is further needed is a way to categorize or classify system operational states based on a complex signal.

SUMMARY OF THE INVENTION

[0011] The present invention achieves the above needs by using an empirical modeling engine in combination with a complex signal decomposition technique, extracting multivariate information from at least one single complex signal. The extracted components are provided as individual inputs to the empirical modeling engine. The empirical modeling engine compares the extracted component inputs against expected values to derive more information about the actual or originating signal or about the state of the system generating the signal.

[0012] A complex signal or parameter, such as a time varying electrical signal (e.g., a electrocardiogram), is decomposed into multiple related signals by band notch filtering, wavelet analysis or other means. The multiple signals essentially form multivariate inputs to an empirical modeling engine, which generates signal estimates in response to the inputs. The modeling engine utilizes a stored reference set of prior known multivariate snapshots to generate the estimates. The estimates and the actual signals are compared in a sensitive statistical test to detect deviations between them, indicative of an unrecognized operational state. Alternatively, the empirical modeling engine compares the multivariate input snapshot to the snapshots in the reference set to determine which reference set snapshots are most similar to the input. A classification associated with the stored reference snapshots having the highest similarity is selected as the classification of the inputs, and the operational state represented by the complex signal is thus determined from a finite set of such known states represented in the reference set. Accordingly, not only can operational states of a system providing the complex signal be categorized, but also original datagrams can be reconstructed from degraded encoding carrier waves for digital data transmission, thereby affording greater range and accuracy.

[0013] Briefly summarized, the invention is implemented in a computer or other processor, having a memory for storing the reference set of snapshots of related signal values, and associated classifications or states, determined from empirical prior observations. An input means can be a data bus, messaging network or direct data acquisition device. The processor is disposed to compute estimates and compare them with the actual inputs to determine differences, or is alternatively disposed to select the classification from the reference set with highest similarity to the inputs. Classification or difference detection can be output to a screen or data file; used to send a paging message, email or fax; or made available to downstream data processing applications in the same computer or another computing system sharing a network or bus connection.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as the preferred mode of use, further objectives and advantages thereof, is best understood by reference to the following detailed description of the embodiments in conjunction with the accompanying drawings, wherein:

[0015]FIG. 1 is a diagram of the general embodiment of the present invention for signal decomposition and empirical modeling;

[0016]FIG. 2 is a diagram of an embodiment of the present invention for operational deviation detection;

[0017]FIG. 3 is a diagram of an embodiment of the present invention for decoding digital information that has been compressed and encoded onto a modulated analog carrier wave that has been attenuated or degraded;

[0018]FIG. 4 illustrates 16 predetermined composite waveforms for conveying encoded digital information;

[0019]FIG. 5 is an example of a discrete wavelet transform on the Signal Number 4 shown in FIG. 4 using the Haar wavelet;

[0020]FIG. 6 shows the 16 composite waveforms of FIG. 4 with random additive noise to emulate distortion in transmission;

[0021]FIG. 7 shows bar graphs indicating similarity values of the 16 signatures of FIG. 4 as compared with the noisy signals of FIG. 6; and

[0022]FIG. 8 is a flow diagram of the preferred embodiment signal comparison method.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0023] Turning now to the drawings and, more particularly, FIG. 1 generally shows the preferred embodiment signal decomposition and modeling system 100 of the present invention, which generally includes a signal receiver 108, a signal decomposition module 102, a reference library 104 and an empirical modeling engine 106. Signal receiver 108 serves to provide the complex signal to the signal decomposition module 102, which converts the signal to a plurality of correlated component signals. Empirical modeling engine 106 is disposed to receive the plurality of inputs, and with reference to a set of data embodying classification information or known operational information stored in reference library 104, output an indication about the complex signal and the system it is drawn from.

[0024] System 100 has application to any complex signal, whether naturally occurring, derived from a system, system operation or a process being carried out in a system or otherwise generated, naturally or artificially and received at the signal decomposition and modeling system 100 by an appropriate receiver 108. In particular, the complex signal may be representative of a physical parameter of a system, process or machine, including, for example, a biological process or system. More particularly, the complex signal can be an electrocardiogram signal for monitoring a heart; the current signature on the power draw of an electric motor; the pressure transducer signal from a metal stamping machine; and so on. Further, the complex signal may be a transmission carrier signal with information encoded thereon such as from telecommunications transmission, e.g., quadrature amplitude modulation (QAM) or discrete multitone (DMT) transmission. The above-described examples of complex signals are provided for example only and not intended as a limitation.

[0025] The present invention is preferably embodied in computer software, which may be contained on computer storage media, e.g. on a hard disk, a on a compact disk (CD), on a read only memory (ROM), on a floppy disk, on a digital versatile disk Rom (DVD-ROM), etc. The invention can also be embodied in and carried out by a microprocessor or microcontroller, with storage being generally available to store a reference library. The inventive system, method and program product can be used for monitoring a manufacturing process in real-time, or a signal received from equipment that is instrumented to detect the complex signal which contains information about the operational state of a monitored process or other equipment. The invention can also be used for extracting information from a communications transmission signal, for example, that is noisy or is severely degraded. In addition, the present invention may be applied to evaluating states of a complex data stream, as for example, stock market data, or other financial data. Further, the present invention also has application to monitoring and classifying heart signals, brainwaves or other important and complex biological signals.

[0026] A complex signal at receiver 108 is acquired from a real-time source or as a frame stored in a data file. For example, a complex signal may be generated by an accelerometer or an acoustic pick-up device that is monitoring a single physical parameter of a process or of a piece of equipment. The complex waveform may contain information on the operation of a vibrating or moving piece of equipment. The real-time source can be a data acquisition card, or can comprise a messaging socket executed as a protocol over a network, such as FieldBus, where the sensor data has been converted to a network-accessible data socket by upstream processing. The signal is digitized and decomposed in the Signal Decomposition Module 102. The Signal Decomposition Module 102 may employ one of any of a number of suitable signal decomposition techniques known in the art of signal processing. Periodically, the complex signal is decomposed into individual signal components forming a set of inputs that are sampled at synchronous observations to provide snapshots, Y_(input). Preferably wavelet analysis is used to decompose the complex signal. Alternatively, the complex signal may be decomposed using frequency filters to extract an individual signal component within the bandpass of each frequency filter. The signal may be digitized before or after decomposition, with signal components being a digital result of decomposition. Thus, the output of the signal decomposition module 102, Y_(input), is multiple correlated signal components. Each of these correlated components from ones of the frequency filters, for example, may be represented as a coefficient for a corresponding frequency, the coefficients for all of the frequencies forming the input vector, Y_(input).

[0027] The reference library 104 generally contains prior data that is characteristic of expected signal component values. This prior data can be distilled from data collected off a real process or machine operating in known states. Alternatively, in the case of rectifying degraded encoded communications signals, the prior data in the reference library can be exemplary datagrams generated by algorithm. In either case, the reference library comprises at least a plurality of snapshots or vectors, each vector containing a like number of elements. Each element is the value of a component signal comprising the complex signal. Thus, if a complex signal is decomposed in module 102 using frequency band filters, then a given vector could comprise the amplitudes of each of the component frequency band signals at a single observation of those component signals, and would have as many elements as there are component signals. If the complex signal is decomposed using discrete wavelet transform, the reference set vectors can be constituted a number of alternative ways; for example by using the coefficients of a selected level of discrete wavelet transform as the vector element values. In any case, according to the invention, the reference library preferably comprises vectors having at least two elements. Furthermore, all the vectors must have a same number of elements. Finally, the elements in each vector must come from the same corresponding source, e.g., the first element of each vector comes from a first component signal, and the second element is always the value of the second component signal, and so on.

[0028] Typically, historical signal component values (signature vectors) are maintained in matrix form (designated D herein) in the reference library 104. Each signature vector is a column (or row) of the history matrix D and represents a previous decomposition of the complex signal at a selected period, i.e., is a snapshot of the signal and contains an entry for each component comprising the complex signal (see below for further discussion). The set of elements in the matrix D are referred to herein as a signal signature set. Snapshots (signature vectors) in the signal signature set of reference library 104, typically, are derived from nominal signals and so, are representative of expected complex signal states.

[0029] The empirical modeling module 106 periodically receives the decomposed signal samples (i.e., signal components) Y_(input) as signal snapshots or data frames. Each snapshot Y_(input) is compared to the data snapshots in the matrix D in the reference library 104. The empirical modeling module 106 compares the current signal snapshot Y_(input) received from the decomposition module 102 with reference set snapshots for “similarity”. This measure of “similarity” is computed using a similarity operator. According to the invention, the similarity operation for a pair of snapshots or vectors being compared returns a value, typically between zero and one, where zero represents dissimilarity and one represents completely identical snapshots. According to one class of similarity operator that works on an element-by-element basis, the measure of similarity is computed according to:

{right arrow over (S)}={overscore (D)} ^(T) {circle over (x)}{right arrow over (Y)} _(input)  (1)

[0030] where D is the reference library set of snapshots, Y_(input) is the input snapshot, S is the vector of all snapshot similarities (one for each comparison of the Y_(input) to a reference snapshot) and the similarity operation is designated by the symbol {circle over (x)}.

[0031] The similarity operation can be selected from a variety of known operators that produce a measure of the similarity or numerical closeness of rows of the first operand to columns of the second operand. The result of the operation as generally applied to two matrix operands is a similarity matrix wherein the similarity value of the ith row and jth column is determined from the ith row of the first operand and the jth column of the second operand (the operand above being a vector Y_(input) and having only one column). The resulting element (i,j) is a measure of the sameness of these two vectors. In the present invention, the ith row of the first operand generally has elements corresponding to temporally related component values for a given decomposition of the complex signal from the process or machine, and the same is true for the jth column of the second operand. Effectively, the resulting array of similarity measurements represents the similarity of a reference vector in one operand to a current input vector in the other operand.

[0032] By way of example, one similarity operator that can be used compares the two vectors (the ith row and jth column) on an element-by-element basis. Only corresponding elements are compared, e.g., element (i,m) with element (m,j) but not element (i,m) with element (n,j). For each such comparison, the similarity is equal to the absolute value of the smaller of the two values divided by the larger of the two values. Hence, if the values are identical, the similarity is equal to one, and if the values are grossly unequal, the similarity approaches zero. When all the elemental similarities are computed, the overall similarity of the two vectors is equal to the average of the elemental similarities. A different statistical combination of the elemental similarities can also be used in place of averaging, e.g., median.

[0033] Another similarity operator that can be used in the present invention is the bounded area ratio test (BART) described in U.S. Pat. No. 5,987,399, which is incorporated by reference. BART is a prior art similarity operator, wherein an internal angle is used to gauge the similarity of two values. A right triangle is formed for each signal component with the base (hypotenuse) of each right triangle bounded by an expected magnitude range over all snapshots in the signal signature set for the particular component. The right angle vertex is preferably located at a point above the median or mean of the range, and at a height h that forms the right angle, the right angle vertex being the apex of the right triangle. At each comparison during system monitoring, BART maps two points X₁ and X₀ to the base; one point representative of an expected component value and the second point is a current component value. These two points are located on the base according to their magnitude within the range of values in the signal signature set. An internal comparison angle θ is formed at the apex above the base by drawing a line to the apex from each of the mapped points: $\begin{matrix} {\theta = {{\tan^{- 1}\left( \frac{h}{X_{1}} \right)} - {\tan^{- 1}\left( \frac{h}{X_{0}} \right)}}} & (2) \end{matrix}$

[0034] The internal angle is the basis by which two values are compared for similarity, i.e., identical points result in a 0° angle and completely dissimilar points result in a right angle. Then, the elemental similarity for the i^(th) element is: $\begin{matrix} {s_{i} = {1 - \frac{\theta_{i}}{\pi/2}}} & (3) \end{matrix}$

[0035] As indicated above, the elemental similarities can be statistically averaged or otherwise statistically treated to generate an overall similarity of a snapshot to another snapshot, as is called for according to the invention.

[0036] Yet another class of similarity operator that can be used in the present invention involves describing the proximity of one signature vector to another vector in n-space, where n is the dimensionality of the vector of the current snapshot of the monitored process or machine. If the proximity is comparatively close, the similarity of the two vectors is high, whereas if the proximity is distant or large, the similarity diminishes, ultimately vanishing. By way of example, Euclidean distance between two vectors can be used to determine similarity. In a complex signal decomposed into 20 components for example, the Euclidean distance in 20-dimensional space between the currently monitored snapshot, comprising a 20-element vector, and each vector in the reference library provides a measure of similarity, as shown: $\begin{matrix} {S = \frac{1}{\left\lbrack {1 + \frac{{{\overset{\rightarrow}{x} - \overset{\rightarrow}{d}}}^{\lambda}}{c}} \right\rbrack}} & (4) \end{matrix}$

[0037] wherein X is the current snapshot, and d is a vector from the reference library, and λ and c are user-selectable constants.

[0038] It should be understood that, although specific similarity operators are described herein, any general similarity operator may be used in the empirical modeling engine of the present invention. The output of the empirical modeling engine 106 of FIG. 1 can be an indication based on the similarity measures generated for each comparison of a reference library vector to the input vector. A number of alternatives are discussed below.

[0039] Turning now to FIG. 2, an embodiment of the invention is shown for use in monitoring the operation of a process or machine, for detection of incipient failures, sensor failure, or operational state change. Items identical to those of FIG. 1 are labeled identically. The empirical modeling engine 106 generates a snapshot Y_(expected), of estimated or expected values in response to the input snapshot Y_(input), based on the similarity measures with the reference library 104 as discussed below. The current decomposed snapshot Y_(input) is subtracted from the estimate Y_(expected) in an adder 110 to yield component residual values. When the components of the decomposed snapshot Y_(input) and the expected snapshot Y_(expected) are close, the residuals are very nearly zero, indicating no incipient failures or state changes. When they are different, the residuals are other than zero. Using a sophisticated test, this difference can be ascertained even though the residuals are within the noise band of the system. A test module 112 is provided to receive and test the residuals to determine at the earliest determinable observation whether a deviation is evidenced in the residuals or not. There is generally one residual for each component signal in the model. An indication of difference between the expected values and the actual values of the component signals points to a deviation in the operation of the monitored process or machine as measured using the complex signal input to receiver 108. Finally, a diagnostic lookup table 114 can optionally be provided to output a likely failure mode is response to the pattern or deviations detected by the test module 112 in the residuals.

[0040] The empirical modeling engine 106 determines expected values of the complex signal components according to the following equation:

{right arrow over (Y)} _(Expected) ={overscore (D)}·{right arrow over (W)}  (5)

[0041] where W is a weight vector having as many elements N as there are columns (or snapshots) in the reference library D 104, generated by: $\begin{matrix} {\overset{\rightarrow}{W} = \frac{\underset{\rightarrow}{\hat{W}}}{\left( {\sum\limits_{j = 1}^{N}{\hat{W}(j)}} \right)}} & (6) \\ {\underset{\rightarrow}{\hat{W}} = {\left( {{\overset{\_}{D}}^{T} \otimes \overset{\_}{D}} \right)^{- 1} \cdot \left( {{\overset{\_}{D}}^{T} \otimes {\overset{\rightarrow}{y}}_{input}} \right)}} & (7) \end{matrix}$

[0042] where the similarity operation is represented by the circle with the cross-hatch inside it. The superscript “T” here represents the transpose of the matrix, and the inverse of the matrix or resulting array is represented by the superscript “−1”. Importantly, there must be row correspondence to like signal components for the rows in D, Y_(input) and Y_(expected). That is, if the first row of the reference matrix D corresponds to values for a first component of the decomposed complex signal, the first element of Y_(input) must also be the current value (if operating in real-time) of that same first component.

[0043] Test module 112 can implement a comparison of the residuals to selected thresholds to determine when an alert should be output of a deviation in the complex signal from recognized states stored in the reference library. Alternatively, a statistical test, preferably the sequential probability ratio test (SPRT) can be used to determine when a deviation has occurred. The basic approach of the SPRT technique is to analyze successive observations of a sampled parameter. A sequence of sampled differences between the generated expected value and the actual value for a monitored component signal should be distributed according to some kind of distribution function around a mean of zero. Typically, this will be a Gaussian distribution, but it may be a different distribution, as for example a binomial distribution for a parameter that takes on only two discrete values (this can be common in telecommunications and networking machines and processes). Then, with each observation, a test statistic is calculated and compared to one or more decision limits or thresholds. The SPRT test statistic generally is the likelihood ratio l_(n), which is the ratio of the probability that a hypothesis H₁ is true to the probability that a hypothesis H₀ is true: $\begin{matrix} {l_{n} = \frac{\left( {y_{1},y_{2},\ldots \quad,\left. y_{n} \middle| H_{1} \right.} \right)}{\left( {y_{1},y_{2},\ldots \quad,\left. y_{n} \middle| H_{0} \right.} \right)}} & (8) \end{matrix}$

[0044] where Y_(n) are the individual observations and H_(n) are the probability distributions for those hypotheses. This general SPRT test ratio can be compared to a decision threshold to reach a decision with any observation. For example, if the outcome is greater than 0.80, then decide H₁ is the case, if less than 0.20 then decide H₀ is the case, and if in between then make no decision.

[0045] The SPRT test can be applied to various statistical measures of the respective distributions. Thus, for a Gaussian distribution, a first SPRT test can be applied to the mean and a second SPRT test can be applied to the variance. For example, there can be a positive mean test and a negative mean test for data such as residuals that should distribute around zero. The positive mean test involves the ratio of the likelihood that a sequence of values belongs to a distribution Ho around zero, versus belonging to a distribution H₁ around a positive value, typically the one standard deviation above zero. The negative mean test is similar, except H₁ is around zero minus one standard deviation. Furthermore, the variance SPRT test can be to test whether the sequence of values belongs to a first distribution H₀ having a known variance, or a second distribution H₂ having a variance equal to a multiple of the known variance.

[0046] For residuals derived for component signals from a complex signal behaving as expected, the mean is zero, and the variance can be determined. Then in run-time monitoring mode, for the mean SPRT test, the likelihood that H₀ is true (mean is zero and variance is σ²) is given by: $\begin{matrix} {{L\left( {y_{1},y_{2},\ldots \quad,\left. y_{n} \middle| H_{0} \right.} \right)} = {\frac{1}{\left( {2{\pi\sigma}} \right)^{n/2}}^{\lbrack{{- \frac{1}{2\sigma^{2}}}{\sum\limits_{k = 1}^{n}y_{k}^{2}}}\rbrack}}} & (9) \end{matrix}$

[0047] and similarly, for H₁, where the mean is M (typically one standard deviation below or above zero, using the variance determined for the residuals from normal operation) and the variance is again σ² (variance is assumed the same): $\begin{matrix} {{L\left( {y_{1},y_{2},\ldots \quad,\left. y_{n} \middle| H_{1} \right.} \right)} = {\frac{1}{\left( {2{\pi\sigma}} \right)^{n/2}}^{\lbrack{\frac{1}{2\sigma^{2}}{({{\sum\limits_{i = 1}^{n}y_{k}^{2}} - {2{\sum\limits_{k = 1}^{n}{y_{k}M}}} + {\sum\limits_{k = 1}^{n}M^{2}}})}}\rbrack}}} & (10) \end{matrix}$

[0048] The ratio l_(n) from equations 9 and 10 then becomes: $\begin{matrix} {l_{n} = ^{\lbrack{\frac{1}{2\sigma^{2}}{\sum\limits_{k = 1}^{n}{M{({M - {2y_{k}}})}}}}\rbrack}} & (11) \end{matrix}$

[0049] A SPRT statistic can be defined for the mean test to be the exponent in equation 11: $\begin{matrix} {{SPRT}_{mean} = {{- \frac{1}{2\sigma^{2}}}{\sum\limits_{k = 1}^{n}{M\left( {M - {2y_{k}}} \right)}}}} & (12) \end{matrix}$

[0050] The SPRT test is advantageous because a user-selectable false alarm probability a and a missed alarm probability β can provide thresholds against with SPRT_(mean) can be tested to produce a decision:

[0051] 1. If SPRT_(mean)≦ln(β/(1−α)), then accept hypothesis H₀ as true;

[0052] 2. If SPRT_(mean)≧ln((1−β)/α), then accept hypothesis H1 as true; and

[0053] 3. If ln(β/(1−α))<SPRT_(mean)<ln((1−β)/α), then make no decision and continue sampling.

[0054] For the variance SPRT test, the problem is to decide between two hypotheses: H₂ where the residual forms a Gaussian probability density function with a mean of zero and a variance of Vσ², and Ho where the residual forms a Gaussian probability density function with a mean of zero and a variance of σ². The likelihood that H₂ is true is given by: $\begin{matrix} {{L\left( {y_{1},y_{2},\ldots \quad,\left. y_{n} \middle| H_{2} \right.} \right)} = {\frac{1}{\left( {2\pi \quad V^{1/2}\sigma} \right)^{n/2}}^{\lbrack{{- \frac{1}{2V\quad \sigma^{2}}}{\sum\limits_{k = 1}^{n}y_{k}^{2}}}\rbrack}}} & (13) \end{matrix}$

[0055] The ratio l_(n) is then provided for the variance SPRT test as the ratio of equation 13 over equation 9, to provide: $\begin{matrix} {l_{n} = {V^{1/2}^{\lbrack{{- \frac{1}{2\sigma^{2}}}{\sum\limits_{k = 1}^{n}{y_{k}^{2}{(\frac{1 - V}{V})}}}}\rbrack}}} & (14) \end{matrix}$

[0056] and the SPRT statistic for the variance test is then: $\begin{matrix} {{SPRT}_{variance} = {{\frac{1}{2\sigma^{2}}\left( \frac{V - 1}{V} \right){\sum\limits_{k = 1}^{n}y_{k}^{2}}} - \frac{\ln \quad V}{2}}} & (15) \end{matrix}$

[0057] Thereafter, the above tests (1) through (3) can be applied as above:

[0058] 1. If SPRT_(variance)≦ln(β/(1−α)), then accept hypothesis H₀ as true;

[0059] 2. If SPRT_(variance)≧ln((1−β)/α), then accept hypothesis H₂ as true; and

[0060] 3. If ln(β/(1−α))<SPRT_(variance)<ln((1−β)/α), then make no decision and continue sampling.

[0061] Each snapshot of residuals (one residual “signal” per component signal from the complex signal) that is passed to the SPRT test module, can have SPRT test decisions for positive mean, negative mean, and variance for each parameter in the snapshot. In an empirical model-based monitoring system according to the present invention, any such SPRT test on any such parameter that results in a hypothesis other than H₀ being accepted as true is effectively an alert on that parameter. Of course, it lies within the scope of the invention for logic to be inserted between the SPRT tests and the output alerts, such that a combination of a non-H₀ result is required for both the mean and variance SPRT tests in order for the alert to be generated for the parameter, or some other such rule.

[0062] The output of the SPRT test module 112 will represent a decision for each decomposed signal input, as to whether the estimate is different or the same. These decisions, in turn, can be used to diagnose the state of the process or equipment being monitored. The occurrence of some difference decisions in conjunction with other sameness decisions can be used as an indicator of likely future machine health or process states. The SPRT decisions can be used to index into a diagnostic lookup database, automatically diagnosing the condition of the process or equipment being monitored.

[0063] Generally, any statistical hypothesis test as known by those skilled in the statistical arts can be substituted for the above-described application of SPRT. In addition, decisioning methods known in the art such as fuzzy logic sets and neural networks can be used to render a decision with regard to the sameness or difference of the estimates and the actual values.

[0064] In a setup and implementation phase for the embodiment of the invention shown in FIG. 2, nominal data from the complex signal pick-up is collected prior to monitoring the system. That nominal data is collected under expected operating conditions for the process or equipment and at known, acceptable or desired operating states. The nominal data is decomposed using the same decomposition method that will be used during monitoring, to provide periodically sampled signal component values as signature vectors in the reference library. Each vector represents an observation or snapshot, that is, a time-correlated set of values, one value from each of the decomposed components. Thus, for example, if a complex waveform such as an electrical current signal from a monitored electrical motor is analyzed using the invention, it may be decomposed using frequency filters to provide three frequency-range components, say <58 Hz, 58 Hz to 62 HZ, and >62 Hz, for each of two polarities, providing six inputs to the model. Then the reference library vectors comprise six-element vectors, each element being a signal amplitude at a time-correlated moment from each of the six frequency band component signals.

[0065] The collected nominal data is not used in its entirety in the reference library. Rather, the data is distilled down to a representative set sufficient to characterize the population of such snapshots. One method for doing this is described in the aforementioned U.S. Pat. No. 5,764,509, and is described therein as Min-Max. Essentially, vectors are selected for inclusion in the reference library if they contain a minimum or a maximum value for any one of the vector elements, across the entire nominal data set. This results in a set of vectors enumerated to no more than twice the number of vector elements. This group of vectors can be augmented using any number of methods with further vectors from the nominal data set.

[0066]FIG. 3 shows another application of the present invention wherein the monitoring system 120 decodes encoded data from a noisy communications signal, e.g., a QAM or DMT signal. Elements identical to the system of FIG. 1 are labeled identically. For such a communications signal, the originally transmitted signal comprises typically a set of superimposed sinusoidal waves, the amplitude and period of which determines the data bits encoded in the carrier. Typically, a specific data word length is encoded together in these superimposed waves, such that decoding the waves at the receiving end results in a data word of the same bit length, e.g., 16 bits. The total “vocabulary” of superimposed waves that the carrier can take on is thus known ahead of time, and constitutes a finite set of states or datagrams (e.g., 16 for a simple QAM). Any deviation from this is noise or degradation present in the transmission line. The embodiment of FIG. 3 advantageously provides a computationally efficient way of finding the datagram in the reference library that is most similar to the transmitted signal, and thus most likely the originally intended datagram. So, in this embodiment, instead of directly decoding the received noisy communications signal to extract encoded data, as is done in the art, the noisy signal is compared in the empirical modeling engine 106 with signal signature vectors from reference library 104. The signature vector that is most closely matched by the noisy input signal is identified and the matching signal signature set vector is decoded based on that comparison. The matched vector may be decoded using a look up table 122, for example, and output as the decoded digital result 124.

[0067] The output 124 can be the literal data values from the reference library or an index into the signal signature set; or as shown in this example, the output 124 can be an index selecting a decoded value at a location in the lookup table 122. In this example, the similarity operation is carried out in the empirical modeling module 106 which compares input snapshots decomposed from the noisy, attenuated or degraded complex input signal with signal signature set snapshots, i.e., signature vectors. For each input snapshot, this comparison identifies the one reference library snapshot that has the greatest measure of similarity to the current state of the input signal, i.e., to the current input snapshot, using the similarity operator described above. A key value is associated with each of the signature vectors and is linked to a lookup table, thus identifying a corresponding decoded digital value with each signature vector. The digital value corresponding to the original signal is output from the lookup table 122 for each match.

[0068] To implement the system to be used to extract data from encoded information transmission, e.g. QAM or DMT, the reference library does not need to be populated from empirical data, as is the case for process or machine monitoring. Instead, because the original finite set of datagrams is known ahead of time, the reference library can be constructed from these directly.

[0069]FIG. 4 shows 16 expected signal states (e.g., encoded transmission signals) conveying information using QAM, for example, each state corresponding to a different one of a four bit digital code. These 16 expected states or signatures are sampled and decomposed into component signals during a signature characterization phase using wavelet analysis, for example. Each state is decomposed into wavelet coefficients that form what are referred to as Detail Levels. Detail level 1 includes 64 wavelet coefficients; Detail level 2 includes 32; Detail Level 3 includes 16; Detail Level 4 includes 8; and Detail Level 5 includes 4. The wavelet coefficients from Detail Levels 3, 4, and 5 and the Approximation Level 5 yield 32 wavelet coefficients (16, 8, 4 and 4, respectively) and provide sufficient information for characterizing each of the 16 signatures. Thus, the reference library for decoding these datagrams can comprise 16 vectors, each having 32 elements, corresponding to the values of the 32 wavelet coefficients. In operation, the transmission signal (the complex signal being analyzed) is windowed and an appropriate window representing a datagram is decomposed using the same discrete wavelet transform into detail level 3, 4 and 5 and the approximation level 5 to provide a vector of 32 elements. This input vector is compared using the similarity operator in the empirical modeling engine to each of the 16 reference library vectors, and the highest similarity is designated the intended datagram.

[0070]FIG. 5 shows an example of discrete wavelet transform of the Signal Number 4 of FIG. 4. In this example, detail levels 1 and 2 are shown, but are not included in the signal signature set or similarity analysis, so that a vector formed to represent the Signal Number 4 in the reference library will contain 32 elements shown in FIG. 5: 16 from the detail level 3, 8 from detail level 4, four from detail level 4, and four from approximation level 5. However, it is understood that the unused wavelet coefficients from detail levels 1 and 2 could be included if desired. Methods are known in the art for developing a full wavelet packet decomposition tree for a complex signal, and ascertaining which detail levels and which approximations contain significant information. These prior art methods can be used in conjunction with the current invention to determine the composition of the vectors that make up the reference library and the input snapshot. The empirical modeling engine is able to render a similarity score for each comparison regardless of the wavelet decomposition used, as long as just one wavelet analysis is selected for processing the input and the reference library.

[0071] An example of a noisy or distorted version of each signature from FIG. 4 is shown in FIG. 6. Random additive noise has been added to the signatures in FIG. 6, however the signals have not been attenuated. The decomposition module 102 receives these distorted complex signals—each encoded with one of the 16 signatures—and decomposes them. The decomposition module 102 may be disposed to first identify a window on the complex signal for decomposition, particularly when discrete datagrams are being carried on an essentially continuous carrier wave. A variety of methods are known in the telecommunications arts for achieving this windowing, such as including a start pulse and stop pulse of particular frequency and/or amplitude to identify the window. As an alternative, the decomposition module 102 can continuously decompose the carrier signal over a shifting window of fixed width, and the decomposed components of each such shifted window can be processed for similarity by the empirical modeling engine 106, such that only similarities above a minimum threshold result in identification of a datagram. Other methods known in the art may be used in the present invention for windowing.

[0072] The real-time noisy complex signal is periodically decomposed (according to the windowing method chosen) into detail level components to produce a current snapshot of 32 wavelet coefficients, again dispensing with detail levels 1 and 2. The empirical modeling engine 106 compares the detail level components against stored signal signature vectors. So, the empirical modeling engine 106 accepts each snapshot, i.e., the wavelet coefficients in detail levels 3, 4, 5 and approximation level 5, and performs a similarity operation for that snapshot versus each of the 16 signature vectors in the reference library signal signature set. More specifically, in each signature comparison, a pair of sets of 32 wavelet coefficients (one signal signature vector and the decomposed snapshot from the actual input) are compared, comparing each corresponding element in the pair. The comparison identifies the one signature vector of the 16 in the signature set that most closely matches the input snapshot. Then, the empirical modeling engine 106 selects the four-bit code corresponding to the matched signature vector from the lookup table 122 and outputs that code as a digital output 124.

[0073] So, for example, using the bounded angle ratio test (BART) for the comparison, a minimum and a maximum value at each end of a right triangle hypotenuse defines the range found for a given coefficient across all 16 signatures in the reference library. The input signal coefficients are compared for similarity, mapping each input coefficient and a corresponding signature vector coefficient along the particular hypotenuse according to the value of the coefficient within the range. Line segments are drawn from each mapped point to the apex. The internal angle between the drawn line segments is less than or equal to ninety degrees. That internal angle is normalized to 90 degrees and, the normalized result is subtracted from one to yield a similarity value between one and zero. That similarity value is a measure of similarity for the pair of corresponding elements, one (1) indicating identity and zero (0) indicating dissimilarity. The similarity values for all 32 components (i.e. wavelet coefficients) in each pair are averaged to provide an overall measure of similarity between the signatures.

[0074] Turning to FIG. 7, results are shown of similarity measurements between the noisy signals of FIG. 6 and the original datagrams of FIG. 4. Each of the 16 graphs corresponds to one of the noise-distorted signal graphs in FIG. 6. Within each graph are sixteen bars comprising the bar chart, one bar for each of the 16 model signals from FIG. 4 that make up the reference library. Each bar represents the vector similarity value of a reference library datagram to the particular noisy datagram from FIG. 6 for that chart. In each comparison, one reference library signature is identified as being closest to the noisy input vector. The match is indicated by an asterisk on the bar having the highest similarity value. In each of the 16 comparisons, the preferred embodiment system automatically scored the correct noisy input signal as being the most similar to the original reference library signature.

[0075] Accordingly, the system of the present invention can accurately identify the correct reference signature from a noisy input signature, thereby, acting as a superior filter for transmission noise to facilitate extracting correct information content from a degraded carrier signal. The reference library may also have associated with each vector an index for directing a lookup into a lookup table, so that encoded digital information may be automatically extracted and decoded with a much higher degree of accuracy than has been heretofore achieved.

[0076]FIG. 8 is a flow diagram 130 showing the steps of the preferred embodiment of the present invention. First in step 132, a signal is received and passed to the decomposer. Then, in step 134, the signal is decomposed into components using, for example, wavelet decomposition or signal filters. Next, in step 136, the decomposed signal components are compared against the signal signature set. In step 138, a check is made to determine if additional steps are to be taken or if additional analysis is to be done on the comparison results and, if not, in step 140 the comparison result is output.

[0077] If additional steps are to be taken on the comparison result, then, in step 142 a check is made to determine whether data is to be extracted from the signal, e.g., communication data. If it is determined that the signal contains encoded data (e.g. the signal is a data transmission signal), then, in step 144, the signal signature vector closest to the input snapshot is identified. In step 146 the lookup table is searched for a digital value corresponding to the matching vector and, that corresponding digital value is passed to the output.

[0078] If the signal is not carrying encoded data but, instead is a signal from a sensor monitoring a system, then, in step 150, a G matrix is determined, being equivalent to the first term from equation 7 above: $\begin{matrix} {{\underset{\rightarrow}{\hat{W}} = {{\overset{\_}{G}}^{- 1} \cdot \left( {{\overset{\_}{D}}^{T} \otimes {\overset{\rightarrow}{y}}_{input}} \right)}}{\overset{\_}{G} = \left( {{\overset{\_}{D}}^{T} \otimes \overset{\_}{D}} \right)}} & (17) \end{matrix}$

 {overscore (G)}=({overscore (D)} ^(T) {circle over (x)}{overscore (D)})  (17)

[0079] It should be noted that the G matrix may be generated prior to receiving any signal, then stored locally, retrieved for use in step 150 and made available for subsequent system analysis. In step 152 the expected signal is generated by multiplying the G matrix with the similarity values vector, as per equation 5 above. In step 154 the difference between the expected signal and the input signal is calculated. In step 156 SPRT analysis is applied to the calculated result from step 154. Finally, in step 158, an appropriate diagnostic is run on the SPRT result.

[0080] It is contemplated that the present invention has wide application in a number of fields, and may take many physical embodiments. In any process control setting, the invention can embody a computer connected to a network or the process control system, wherein the complex signal would be received by means of a data acquisition card or a network card, and processed in the computer processor according to software instructions in memory. The output of the computer embodiment can be supplied to the screen of the computer, or made available via a network connection to either downstream processing, such as in the control system itself, or to remote viewing, as in a web browser on another computer. In another embodiment, the invention comprises a hardware device specifically for analyzing the complex signal, which may be a heartbeat or an electric motor current. In this embodiment, a processor is also typically provided in the device, along with memory for storing the data and the model or reference data. The device then preferably includes the sensor or set of sensors and their electrical signal connections for detecting the complex signal in question. In an on-board embodiment, the invention may comprise a set of microprocessor instructions that are part of a broader digital signal processor (DSP) instruction set running a DSP embedded in a machine, such as an automobile or an electric motor. In this case, receipt of the complex signal is typically already provided for in the embedded DSP as an existing sensor, such as a voltmeter or the like. Finally, the invention can also be practiced off-line as a program in a standard desktop or workstation environment, where the complex signal is provided as a data file stored on media. Generally across these embodiments, the signal decomposition module can be a software-driven processor, a DSP or other microprocessor dedicated to the task, an application-specific integrated circuit (ASIC) customized to decompose in hardware, or even an arrangement of simple circuit elements (such as filters) that decompose the complex signal in its analog state, prior to any digitization for processing.

[0081] It should be appreciated that a wide range of changes and modifications may be made to the embodiments of the invention as described herein. Thus, it is intended that the foregoing detailed description be regarded as illustrative rather than limiting and that the following claims, including all equivalents, are intended to define the scope of the invention. 

What is claimed is:
 1. A system for extracting information from a complex signal, comprising: a decomposition module disposed to derive a snapshot of input signal components from said complex signal; a memory storing reference snapshots of signal components characterizing recognized states of said complex signal; and an empirical modeling engine applying a similarity operator to said input signal components against said reference snapshots to generate at least one similarity measure, said similarity measure providing information about the state of said complex signal.
 2. A system for extracting information as in claim 1 , wherein said decomposition module derives each said snapshot from said complex signal using wavelet analysis to decompose said complex signal into a plurality of component coefficients.
 3. A system for extracting information as in claim 1 , wherein said decomposition module comprises a plurality of frequency filters for filtering said complex signal to derive said snapshot of input signal components.
 4. A system for extracting information as in claim 1 , wherein said empirical modeling engine generates said similarity measure as a function of elemental similarity values between corresponding components of the input snapshot and a reference snapshot.
 5. A system for extracting information as in claim 4 , wherein said empirical modeling engine generates an elemental similarity value for a selected component according to a mapping into a range between a minimum and maximum of that component across the reference snapshots.
 6. A system for extracting information as in claim 1 , wherein said complex signal is a communication signal, said system further comprising a lookup table, said empirical modeling engine matching said snapshot with a reference snapshot in said memory based on the at least one similarity measure, said matching reference snapshot identifying an entry in said lookup table, said identified lookup table entry being presented as an output of said system.
 7. A system for extracting information as in claim 1 , wherein said signal is generated from a system being monitored and said empirical modeling engine generates expected values for at least one of the signal components of said complex signal based on the at least one similarity measure, said system further comprising: an adder for combining an expected value and a corresponding signal component and determining a residual value therefrom; and a test unit for determining a deviation based on the residual.
 8. A system for extracting information as in claim 7 , further comprising a diagnostic unit responsive to deviation determinations from said test unit for generating a diagnosis of a condition in the operation of the monitored system.
 9. A system for extracting information as in claim 7 , wherein said test unit applies a threshold to the residual to determine a deviation.
 10. A system for extracting information as in claim 7 , wherein said test unit applies a sequential probability ratio test to a sequence of values of the residual to determine a deviation.
 11. An apparatus for monitoring the operating condition of a system, comprising: sensor means for acquiring a time-varying signal characterizing operation of the system; means for decomposing said time-varying signal into a plurality of components; a memory for storing a plurality of reference snapshots of component values for known operating conditions; and processor means responsive to the decomposing means, disposed to generate estimates of the components using a similarity operation on the component values from the decomposing means with reference to the component values in each reference snapshot in the memory, and further disposed to generate residual values by differencing the component values and the estimates thereof, for determination of deviating operating conditions of the system.
 12. An apparatus according to claim 11 , wherein said processor means is further disposed to perform a sequential probability ratio test on successive residual values for determining deviating operating conditions of the system.
 13. An apparatus according to claim 11 , wherein said processor means generates said estimates using a similarity operator in which a difference between two values is normalized with an expected range for said values.
 14. An apparatus for classifying a state of a system, comprising: sensor means for acquiring a time-varying signal characterizing the system; means for decomposing said time-varying signal into a plurality of components; a memory for storing at least one reference snapshot of component values for at least one known state of the system; and processor means responsive to the decomposing means, disposed to use a similarity operator to generate a similarity value for a comparison of the components from the decomposing means and the at least one reference snapshot, and determine if the system is in said known state based on the similarity value.
 15. An apparatus according to claim 14 , wherein the memory contains a plurality of snapshots of component values representing a plurality of known states, and said processor means determines the state of the system to be the known state associated with the reference snapshot having the highest generated similarity value.
 16. An apparatus according to claim 15 , wherein each known state represented in the memory has just one reference snapshot associated with it.
 17. An apparatus according to claim 14 , wherein said decomposing means uses wavelet analysis to decompose the time-varying signal into coefficients.
 18. An apparatus according to claim 14 , wherein said decomposing means uses frequency filters to decompose the time-varying signal into component signals.
 19. A method for providing a reference library of representative sets of correlated values for use in monitoring a system using an empirical model, comprising the steps of: receiving a variable signal measuring a parameter of said system during operation of said system in a known mode; decomposing said variable signal into component signals; sampling said component signals periodically to provide successive sets of correlated values; and selecting some of said sets of correlated values for inclusion in said reference library.
 20. A method according to claim 19 , wherein said decomposing step comprises transforming said variable signal with a discrete wavelet transformation to produce component signals comprising successive wavelet coefficients.
 21. A method according to claim 19 , wherein said decomposing step comprises filtering said variable signal with a plurality of frequency bandpass filters to produce component signals for each band of frequencies.
 22. A method according to claim 19 , further comprising storing in said reference library a classification with a selected set of correlated values, associated with a known state of the variable signal.
 23. A method according to claim 19 , wherein said selection step comprises including a particular set of correlated values if said particular set includes a minimum or a maximum value of one of the correlated values, as compared to all like values in all the sets of correlated values.
 24. A method for classifying a state of a system, comprising: receiving a time-varying signal characterizing the system; decomposing said time-varying signal into a plurality of components; generating a similarity value for a comparison of said plurality of decomposed components and a reference set of component values representing a known state of the system; and determining if the system is in said known state based on the similarity value.
 25. A method according to claim 24 , wherein said generating step comprises generating a similarity value for each comparison of the decomposed components to each of a plurality of reference sets of component values representing a plurality of known states of the system, and said determining step comprises selecting the known state associated with the reference set having the highest generated similarity value as the determined state of the system.
 26. A method according to claim 25 , wherein each known state has just one reference set of component values associated with it.
 27. A method according to claim 24 , wherein said decomposing step comprises using wavelet analysis to decompose the time-varying signal into coefficients.
 28. A method according to claim 24 , wherein said decomposing step comprises using frequency filters to decompose the time-varying signal into component signals.
 29. A method of extracting information from a complex signal, said method comprising the steps of: a) receiving a complex signal, said complex signal carrying data therein; b) periodically decomposing said received complex signal into a plurality of components; c) comparing said components against a plurality of snapshots in a storage set of historical components; d) averaging comparison results from comparing said components against said snapshots, said average comparison results providing an indication of information in said complex signal.
 30. A method of extracting information as in claim 29 , wherein the step (b) of periodically decomposing said received complex signal comprises extracting wavelet detail levels from said complex signal.
 31. A method of extracting information as in claim 29 , wherein the comparison step (c) comprises applying a bounded area ratio test to each of said plurality of components, each component being compared against a corresponding component in each of the plurality of snapshots.
 32. A method of extracting information as in claim 31 , said method further comprising the steps of: e) identifying a matching historical signature vector among said plurality of snapshots responsive to said average comparison results; and f) outputting a digital result corresponding to said identified matching historical signature vector.
 33. A method of extracting information as in claim 31 , said complex signal being generated responsive to a system being monitored, said method further comprising the steps of: e) generating an expected signal result from averaged said comparison results; f) generating a residual from said expected signal result and said decomposed received complex signal; and g) testing said residual to determine whether said expected signal result is different from said received complex signal.
 34. A method of extracting information as in claim 33 further comprising the step of: h) diagnosing a state of said monitored system responsive to said determination of step (g). 